<template>
  <div>
		<h1>Tel: 18678892721</h1>
		<h2 v-if="message">Message: <span class="message">{{ message }}</span></h2>
	</div>
</template>

<script>
export default {
  data () {
		return {
			message: ''
		}
	},
	mounted () {
		this.$bus.$on('on-click', message => {
			this.message = message
		})
	}
}
</script>
<style lang="less" scoped>
.message {
	background-color: indianred;
	letter-spacing: 1px;
}
</style>

